package com.ast;

public class RelExpNode {
    AddExpNode addExp;
    RelExpNode relExp;
    String op;
    public RelExpNode(AddExpNode addExp) {
        this.addExp = addExp;
    }
    public RelExpNode(RelExpNode relExp, String op, AddExpNode addExp) {
        this.relExp = relExp;
        this.op = op;
        this.addExp = addExp;
    }

    public AddExpNode getAddExp() {
        return addExp;
    }

    public RelExpNode getRelExp() {
        return relExp;
    }

    public String getOp() {
        return op;
    }
}
